package com.hrs.enity.ro;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author 摆渡人
 * @description
 * @date 2023/1/13 12:06
 */
@Data
public class PayLogRegisterRo {

    @NotNull(message = "id is null")
    private Long id;

    /**
     * 奖金*
     */
    @ApiModelProperty("奖金")
    @Min(value = 0,message = "不能为负数")
    private BigDecimal bonus;

    /**
     * 罚款*
     */
    @ApiModelProperty("罚款")
    @Min(value = 0,message = "不能为负数")
    private BigDecimal penalty;
}
